public void DitherLine(
byte[] srcBuffer,
int srcBufferOffset,
byte[] destBuffer,
int destBufferOffset
)
Public Overloads Sub DitherLine( _
ByVal srcBuffer() As Byte, _
ByVal srcBufferOffset As Integer, _
ByVal destBuffer() As Byte, _
ByVal destBufferOffset As Integer _
)
- (BOOL)ditherLine:(const unsigned char *)srcBuffer
destBuffer:(unsigned char *)dstBuffer
error:(NSError **)error
public void ditherLine(
byte[] srcBuffer,
int srcBufferOffset,
byte[] destBuffer,
int destBufferOffset
)
public:
void DitherLine(
array<byte>^ srcBuffer,
int srcBufferOffset,
array<byte>^ destBuffer,
int destBufferOffset
)
srcBuffer
The input buffer.
srcBufferOffset
Index to srcBuffer where the source data is started.
destBuffer
The output buffer.
destBufferOffset
Index to destBuffer where the destination data is started.
This method uses the dithering method specified in the DitheringMethod property. Therefore, it provides better 4-bit or 8-bit output than the RasterBufferConverter.Convert method.
This method uses the palette that the StartDithering method specifies. The output of the DitherLine method is made up of 1-bit, 4-bit, or 8-bit indexes to the specified palette. StopDithering cleans up the allocated variables and buffers. For a description of how the methods relate to each other, refer to the StartDithering.
This method does not support signed images.
For more information, refer to Introduction to Image Processing With LEADTOOLS.
For an example, refer to StartDithering.
Introduction to Image Processing With LEADTOOLS
Codecs.CodecsThumbnailOptions.DitheringMethod property
ImageProcessing.ColorResolutionCommand.DitheringMethod property
RasterDitheringMethod enumeration
RasterDefaults.DitheringMethod property
RasterImage.DitheringMethod property
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document